/**
 * 
 */
package org.wicket.jbpm.service.user;

import java.util.List;

import org.wicket.jbpm.dao.user.UserDao;
import org.wicket.jbpm.model.User;

/**
 * @author Emmanuel Nollase - emanux
 * created: May 9, 2009 - 11:22:54 PM
 */
public class UserServiceImpl implements UserService {

	private UserDao userDao;
	
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	/* (non-Javadoc)
	 * @see org.wicket.jbpm.service.user.UserService#findByGrpId(java.lang.String)
	 */
	public List<User> findByGrpId(String grpId) {
		return userDao.findByGrpId(grpId);
	}
	
	/*
	 * (non-Javadoc)
	 * @see org.wicket.jbpm.service.user.UserService#checkUser(java.lang.String, java.lang.String)
	 */
	public boolean checkUser(String username, String password) {
		return userDao.checkUser(username, password);
	}

	/*
	 * (non-Javadoc)
	 * @see org.wicket.jbpm.service.user.UserService#loadUser(java.lang.String, java.lang.String)
	 */
	public User loadUser(String username, String password) {
		return userDao.loadUser(username, password);
	}

	/*
	 * (non-Javadoc)
	 * @see org.wicket.jbpm.service.user.UserService#findForJbpmUser(java.lang.String)
	 */
	public List<String> findForJbpmUser(String grpId)
	{
	    // TODO Auto-generated method stub
	    return null;
	}

	public List<String> findForJbpmUser()
	{
	    // TODO Auto-generated method stub
	    return null;
	}

}
